package com.softer.ztb.common.enums;

/**
 * @author zcz
 * @date 2019/1/16
 */
public enum ShiroResultEnum {
    /**
     * 操作成功
     */
    SUCCESS(200),
    /**
     * 操作失败
     */
    FAIL(201);
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    ShiroResultEnum(int code) {
        this.code = code;
    }
}
